// frontend/src/api/stockStatistics.js
import request from '@/utils/request'

// 获取股票统计信息
export function getStockStatistics(stockCode) {
  return request({
    url: `/api/stock/statistics/${stockCode}`,
    method: 'get'
  })
}
// 获取股票最新数据
export function getStockLatestData(stockCode) {
  return request({
    url: `/api/stock/statistics/latest/${stockCode}`,
    method: 'get'
  })
}
